<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: func_parent_iterator_t Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classfunc__parent__iterator__t-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">func_parent_iterator_t Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class to enumerate all function parents sorted by addresses. </p>
<p>Enumeration is started with first() or last(). The loop may continue until the next() or prev() function returns false. The parent functions are always sorted by their addresses. The tail chunk is locked during the iteration.</p>
<p>Sample code: </p><div class="fragment"><div class="line"><a class="code" href="classfunc__parent__iterator__t.html">func_parent_iterator_t</a> fpi(fnt);</div>
<div class="line"><span class="keywordflow">for</span> ( <span class="keywordtype">bool</span> ok=fpi.first(); ok; ok=fpi.next() )</div>
<div class="line">  <a class="code" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> parent = fpi.parent();</div>
<div class="line">  ....</div>
</div><!-- fragment --> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac91a62cd6d187ad2bb5a54ff977ca265"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac91a62cd6d187ad2bb5a54ff977ca265"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>func_parent_iterator_t</b> (<a class="el" href="classfunc__t.html">func_t</a> *_fnt)</td></tr>
<tr class="separator:ac91a62cd6d187ad2bb5a54ff977ca265"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a1caf971d5303cbf8ea0a0c58d5db23"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a1caf971d5303cbf8ea0a0c58d5db23"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>set</b> (<a class="el" href="classfunc__t.html">func_t</a> *_fnt)</td></tr>
<tr class="separator:a5a1caf971d5303cbf8ea0a0c58d5db23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01970a86c39a532886aeb739102b8354"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a01970a86c39a532886aeb739102b8354"></a>
<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>parent</b> (void) const </td></tr>
<tr class="separator:a01970a86c39a532886aeb739102b8354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af64c178d8627eedc51ecba1d2e30900c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af64c178d8627eedc51ecba1d2e30900c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>first</b> (void)</td></tr>
<tr class="separator:af64c178d8627eedc51ecba1d2e30900c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a017a6e3176c4ff454e95b7336c328170"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a017a6e3176c4ff454e95b7336c328170"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>last</b> (void)</td></tr>
<tr class="separator:a017a6e3176c4ff454e95b7336c328170"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68dbf2c786e1c31ac549929827ab1096"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a68dbf2c786e1c31ac549929827ab1096"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>next</b> (void)</td></tr>
<tr class="separator:a68dbf2c786e1c31ac549929827ab1096"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d5bc6a0f6968719f2b900bdb0903861"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d5bc6a0f6968719f2b900bdb0903861"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>prev</b> (void)</td></tr>
<tr class="separator:a4d5bc6a0f6968719f2b900bdb0903861"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cb82171a33414df7983070dcb8d9442"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0cb82171a33414df7983070dcb8d9442"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>reset_fnt</b> (<a class="el" href="classfunc__t.html">func_t</a> *_fnt)</td></tr>
<tr class="separator:a0cb82171a33414df7983070dcb8d9442"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="funcs_8hpp.html">funcs.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
